package cst.a328zf.startproject_328zf.service;




import cst.a328zf.startproject_328zf.bean.WeatherResult;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by Gril on 2017/5/11.
 */

public interface WeatherService {
    @GET("data/sk/{cityNumber}.html")
    public Call<WeatherResult> getResult(@Path("cityNumber") String cityNumber);

    @GET("data/sk/city.html")
    public Call<WeatherResult> getWeather2(@Query("cityNumber") String cityNumber);
}
